<div class="contentArea">
    <div class="Item hr">
        <div class="current">添加分类</div>>
    </div>
    <form>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
            <tr>
                <th width="80">分类名称：</th>
                <td><input type="text" class="input" size="50" name="class[class_name]" placeholder="请输入分类名称"/></td>
            </tr>

            <tr>
                <th width="90">上传图标：</th>
                <td>
                    <input type="file" id="cover_pic" name="cover_pic">
                </td>
                <div class="id_photos" >

                </div>
            </tr>
        </table>
    </form>
    <div class="commonBtnArea">
        <button class="btn submit">提交</button>
    </div>
</div>

<script type="text/javascript">
    $(".submit").click(function(){
        commonAjaxSubmit("{:U('Class/insert')}");
    });
</script>
